package com.lc.cehui.http.response;

import java.util.List;

public class UserCouponListBean {

    /**
     * code : 200
     * msg : 成功
     * flag : F
     * page : 1
     * data : [{"id":1,"name":"测试优惠券","shold_price":50,"red_price":5,"start_time":"2021-12-19","end_time":"2022-12-02","day":350},{"id":4,"name":"测试企业优惠券","shold_price":0,"red_price":4,"start_time":"2021-12-16","end_time":"2021-12-31","day":13},{"id":5,"name":"新优惠券","shold_price":20,"red_price":2,"start_time":"2021-12-16","end_time":"2021-12-31","day":13}]
     */

    private String code;
    private String msg;
    private String flag;
    private String page;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 测试优惠券
         * shold_price : 50
         * red_price : 5
         * start_time : 2021-12-19
         * end_time : 2022-12-02
         * day : 350
         */

        private Integer id;
        private String name;
        private Integer shold_price;
        private Integer red_price;
        private String start_time;
        private String end_time;
        private Integer day;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getShold_price() {
            return shold_price;
        }

        public void setShold_price(Integer shold_price) {
            this.shold_price = shold_price;
        }

        public Integer getRed_price() {
            return red_price;
        }

        public void setRed_price(Integer red_price) {
            this.red_price = red_price;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public Integer getDay() {
            return day;
        }

        public void setDay(Integer day) {
            this.day = day;
        }
    }
}
